package HomeService

import (
	"gdshop-back-end-go/common/response"
	"gdshop-back-end-go/service-common/BaseService"
	"github.com/gogf/gf/net/ghttp"
)

func ShareUrlToPagePath(r *ghttp.Request) *response.JsonResponse {
	ctx := r.GetCtx()
	shareUrl := r.GetString("spam")
	pagePath := BaseService.ShareUrlToPagePath(ctx, shareUrl)
	return response.SuccessByRequestMessageData(r, "成功", pagePath)
}
